package com.hylink.dao;

import com.hylink.model.User;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserDao {
    public User findUserInfo();

    public List<User> getAllUsers();

    /**
     * 分页查询
     * @return
     */
    public    List<User> getUsesWithPager(Map<Object ,Object> map);


    public Integer count(Map<Object ,Object> map);

    public void saveUser(User user);

    public  void updateUser(User user);

    public User getuserbyid(String id);

    public void delete(Integer id);


}
